const Router = require('@koa/router')
const router = Router({
    prefix: '/data'
})
const dataController = require('../controllers/dataController');

router.get('/carData', dataController.carData)
router.get('/homeData', dataController.homeData)
router.get('/getCarsPicture', dataController.getCarsPicture)
router.get('/selectDetail', dataController.selectDetail)
router.get('/searchCar', dataController.searchCar)
router.get('/concernDetail', dataController.concernDetail)
router.get('/carDetail', dataController.carDetail)
router.get('/_carDetail', dataController._carDetail)
router.get('/_carCity', dataController._carCity)
router.get('/carRank', dataController.carRank)
router.get('/usersDynamic', dataController.usersDynamic)
router.get('/getJuheWeather', dataController.getJuheWeather)
router.get('/twoHander', dataController.twoHander)
router.get('/fourS', dataController.fourS)
router.get('/twoRecommend', dataController.twoRecommend)
router.get('/luxuryCar', dataController.luxuryCar)

module.exports = router.routes()